// 权限获取插件
import utils from "@/api/utils";

export default async ({ app, store, route, redirect, params, query }) => {
  if (process.client) {
    const token = utils.cookie.readCookie("telda");
    if(token){
      store.dispatch("app/getUserInfo");
    }
  }
};
